<?php

namespace app\assets;

use yii\web\AssetBundle;

class LayuiAsset extends AssetBundle
{
    public $basePath = '@webroot';
    public $baseUrl = '@web';
    public $css = [
        '/layui/css/layui.css',
    ];
    public $js = [
        '/layui/layui.all.js',
        '/admin/common.js',
    ];
    public $jsOptions = [
        'position' => \yii\web\View::POS_END
    ];
    public $depends = [
        'yii\web\JqueryAsset',
    ];
}